
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div class="demo01"></div>
    <div class="demo02"></div>
    <style>
        div{
            border: 5px solid hsl(135, 85%, 54%);
            width: 200px;
            height: 200px;
            margin-bottom: 20px;
        }
        .glory1{
            border-color:rgba(43, 233, 211, 0.482);
        }
        .glory2{
            border-color: rgb(195, 241, 25);
            transition: background-color 1s;
        }
    </style>
    <hr>
    源代码展示
    <pre>
        &ltdiv class="glory1">&lt/div>
        &ltdiv class="glory2">&lt/div>
        &ltstyle>
        div{
            border: 5px solid #333;
            width: 200px;
            height: 200px;
            margin-bottom: 20px;
        }
        .glory1{
            border-color: rgb(55, 77, 108);
        }
        .glory2{
            border-color: rgb(13, 132, 21);
            transition: background-color 1s;
        }
        &lt/style>
    </pre>

</body>
</html>